package dto

import (
	"github.com/gin-gonic/gin"
	"my-go-gateway/public"
)

type ChangePwdInput struct {
	Password string `json:"password" form:"password" comment:"密码" example:"123456" validate:"required"`
}

func (changePwd *ChangePwdInput) BindValidParam(ctx *gin.Context) error {
	return public.DefaultGetValidParams(ctx, changePwd)
}
